home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / C / Applications / Python 1.3 / source code / Nt / Demo / dl.nt / template / makefile.nt.mak next >
Encoding:
Makefile  |  1995-12-17  |  501 b   |  27 lines  |  [TEXT/R*ch]

  1. # Replace the next two lines as appropriate.
  2. module=yourmodule
  3. pythondir=..\..\..\
  4.  
  5. BUILD_DL=1
  6. PCH=0                # for 1 module, small builds often not worth it.
  7.  
  8. !include <$(pythondir)\make.nt.in>
  9. #override the srcdir spec.
  10. srcdir=$(pythondir)
  11.  
  12.  
  13. lcustom=            # if hitting windows itself, probably want $(guilibs)
  14. ccustom=            # no real need.
  15.  
  16. all: $(module).dll
  17.  
  18. $(module).dll : $(module).obj
  19.  
  20. .ignore:
  21.  
  22. clean:
  23.     del *.obj *.lib *.exp *.pdb *.pch 2>nul    # some may not exist - who cares!
  24.  
  25. clobber: clean
  26.     del *.dll
  27.